namespace ThingsGateway.Foundation
{
    /// <summary>
    /// 返回通知接口，继承IRequestInfo
    /// </summary>
    public interface IResult : IRequestInfo
    {
        /// <summary>
        /// 返回代码
        /// </summary>
        ResultCode ResultCode { get; set; }
        /// <summary>
        /// 指示本次操作是否成功。<br />
        /// </summary>
        bool IsSuccess { get; }
        /// <summary>
        /// 消息
        /// </summary>
        string Message { get; set; }
    }
}